package com.zhang.chatcenter.chat;

import io.netty.channel.Channel;
import io.netty.channel.ChannelId;

import java.util.List;
import java.util.Map;
import java.util.concurrent.ConcurrentHashMap;

/**
 * description
 *
 * @author zhangFanJun
 * @date 2024-02-27 17:04
 **/
public class ChannelHold {

    public static final Map<ChannelId, Channel> CONNECTION = new ConcurrentHashMap<>();
    public static final Map<Long, Channel> USER_CHANNEL = new ConcurrentHashMap<>();
    public static final Map<Long, List<Long>> ROOM = new ConcurrentHashMap<>();

}
